<template>
    <div class="search">
        
        <van-search class="search_input" v-model="value" @click="handleSearch" placeholder="请输入搜索关键词" />
    </div>
</template>
<script>
export default {
    data() {
        return {
            value:""
        }
    },
    methods: {
        handleSearch() {
      this.$router.push("/search");
      console.log(11);
    },
    },
}
</script>
<style>
.search{
    display: flex;
    justify-content: space-between;
}
.city{
   font-size: 30px;
   line-height: 50px;
}
.search_input{
    width: 85%;
    border: 1px solid rgb(121, 118, 118);
    border-radius: 30px;
}
</style>